package com.ruoyi.zhgd.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.zhgd.util.PageUtils;
import com.ruoyi.zhgd.domain.vo.NLaboratoryAsphaltPenetrometerVo;
import com.ruoyi.zhgd.domain.bo.NLaboratoryAsphaltPenetrometerBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 沥青针入度仪Service接口
 *
 * @author zyb
 * @date 2023-09-11
 */
public interface INLaboratoryAsphaltPenetrometerService {

    /**
     * 查询沥青针入度仪
     */
    NLaboratoryAsphaltPenetrometerVo queryById(String id);

    /**
     * 查询沥青针入度仪列表
     */
    TableDataInfo<NLaboratoryAsphaltPenetrometerVo> queryPageList(NLaboratoryAsphaltPenetrometerBo bo, PageQuery pageQuery);

    /**
     * 查询沥青针入度仪列表
     */
    List<NLaboratoryAsphaltPenetrometerVo> queryList(NLaboratoryAsphaltPenetrometerBo bo);

    /**
     * 新增沥青针入度仪
     */
    Boolean insertByBo(NLaboratoryAsphaltPenetrometerBo bo);

    /**
     * 修改沥青针入度仪
     */
    Boolean updateByBo(NLaboratoryAsphaltPenetrometerBo bo);

    /**
     * 校验并批量删除沥青针入度仪信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    PageUtils queryPage(Page page, String resId);
}
